package cn.touna.jss.modules.custom.tobaccouser.entity;

import cn.touna.risk.api.contraints.Mobile;
import org.hibernate.validator.constraints.NotEmpty;


public class TobaccoUser {


    private int id;

    private String name;

    @Mobile
    private String mobile;

    private String idCard;

    @NotEmpty
    private String channel;

    private String retailCode;

    private String retailName;

    private String address;

    private String grade;


    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getRetailCode() {
        return retailCode;
    }

    public void setRetailCode(String retailCode) {
        this.retailCode = retailCode == null ? null : retailCode.trim();
    }

    public String getRetailName() {
        return retailName;
    }

    public void setRetailName(String retailName) {
        this.retailName = retailName == null ? null : retailName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade == null ? null : grade.trim();
    }

}